package com.jiyun.feign;

import com.jiyun.vo.Result;
import com.jiyun.vo.day15.TraineeDto;
import com.jiyun.vo.day15.TraineeVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * @Author mtt
 * @Date 2023/8/23 19：28
 **/
@FeignClient("day05-trainee")
public interface FeignTrainee {
    @RequestMapping("/traineeMember/findCount")
    public Result findCount(@RequestBody TraineeDto dto);
    @RequestMapping("/traineeMember/findCount2")
    public Result findCount2(@RequestBody TraineeDto dto);
    @RequestMapping("/traineeMember/findNum")
    public Integer findNum(@RequestBody TraineeDto dto);

    @RequestMapping("/trainee/findReTrainee")
    public List<TraineeVo> findReTrainee();

}
